<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>toc</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : 10/06/2004</div>
    <p>
      <b>toc</b> - Read the stopwatch timer</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>toc()</tt>
      </dd>
      <dd>
        <tt>t = toc()</tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>t</b>
        </tt>: number of seconds since last call to <tt>
          <b>tic()</b>
        </tt> (Precision in order of millisecond).</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>The sequence of commands <tt>
        <b>tic(); operation; toc();</b>
      </tt> prints the number of seconds required for the operation.</p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>

tic();
realtimeinit(1);
realtime(0);
realtime(10);
toc();
 
  </pre>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="tic.htm">
        <tt>
          <b>tic</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="../utilities/timer.htm">
        <tt>
          <b>timer</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="etime.htm">
        <tt>
          <b>etime</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
    <h3>
      <font color="blue">Authors</font>
    </h3>
    <dl>
      <dd>
        <b></b>V.C.</dd>
      <dd>
        <b></b>A.C.</dd>
    </dl>
  </body>
</html>
